package com.durian.base.net.listener;

import com.durian.base.net.HttpResponse;

import java.io.File;


/**
 * 说明：OnDownloadListener
 * <p/>
 * 作者：fanly
 * <p/>
 * 类型：Class
 * <p/>
 * 时间：2019/2/18 17:27
 * <p/>
 * 版本：version 1.0
 */
public interface OnDownloadListener extends OnOkHttpLoadListener {
    void onSuccess(HttpResponse response, File target);
    void onProgress(long current, long total, float percent);
}
